package com.demospringboot.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("repair_request")
public class RepairRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 报修标题
     */
    private String title;
    /**
     * 报修描述
     */
    private String description;
    /**
     * 报修地点
     */
    private String location;
    /**
     * 报修单状态
     */
    private RepairStatus status;
    /**
     * 报修人ID
     */
    private Long requestUserId;
    /**
     * 处理人ID (后勤人员)
     */
    private Long handlerUserId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    @TableLogic
    private Integer deleted;
} 